<template>
  <transition>
    <slot></slot>
  </transition>
</template>

<script>
export default{
  name: 'FadeAnimation'
}
</script>

<style scoped>
.v-enter,.v-leave-to{
  opacity: 0;
  transform: scale(0)
}
.v-enter-active,.v-leave-active{
  transition: all 0.3s;
}
</style>
